package com.chenchao.designer.abstractFactory;

/**
 * @encoding : UTF-8
 * @Time : 2020/11/14 14:53
 * @Author : Chen Chao
 * @File : javaSE.com.chenchao.javadesigner.abstractFactory.XiaomiFactoryImpl.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 */
public class XiaomiFactoryImpl implements Factory {
    @Override
    public Cpu getCpu() {
        return new Cpu.CpuImpl2();
    }
    @Override
    public Screen getScreen() {
        return new Screen.ScreenImpl2();
    }
}
